﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Anke.SHManage.Model.FixedAssetsModel
{
    /// <summary>
    /// 固定资产报废申请记录实体类
    /// plq
    /// </summary>
    
    [Table(Name = "FIXED_Scrap")]
    public class FIXED_ScrapInfo
    {
        private int m_BianMa;
        /// <summary> 
        /// 编码 
        /// </summary> 
        [Column(IsPrimaryKey = true, Name = "编码", DbType = "int", Storage = "m_BianMa")]
        public int BianMa
        {
            get { return m_BianMa; }
            set { m_BianMa = value; }
        }

        private Guid m_ZiChanBianMa;
        /// <summary> 
        /// 资产编码 
        /// </summary> 
        [Column(Name = "资产编码", DbType = "uniqueidentifier not null", Storage = "m_ZiChanBianMa", UpdateCheck = UpdateCheck.Never)]
        public Guid ZiChanBianMa
        {
            get { return m_ZiChanBianMa; }
            set { m_ZiChanBianMa = value; }
        }

        private string m_ShenQingKeShi;
        /// <summary> 
        /// 申请科室 
        /// </summary> 
        [Column(Name = "申请科室", DbType = "nvarchar(50) not null", Storage = "m_ShenQingKeShi", UpdateCheck = UpdateCheck.Never)]
        public string ShenQingKeShi
        {
            get { return m_ShenQingKeShi; }
            set { m_ShenQingKeShi = value; }
        }

        private DateTime m_ShenQingRiQi;
        /// <summary> 
        /// 申请日期 
        /// </summary> 
        [Column(Name = "申请日期", DbType = "date not null", Storage = "m_ShenQingRiQi", UpdateCheck = UpdateCheck.Never)]
        public DateTime ShenQingRiQi
        {
            get { return m_ShenQingRiQi; }
            set { m_ShenQingRiQi = value; }
        }

        private string m_ShengChanGuo;
        /// <summary> 
        /// 生产国 
        /// </summary> 
        [Column(Name = "生产国", DbType = "nvarchar(50)", Storage = "m_ShengChanGuo", UpdateCheck = UpdateCheck.Never)]
        public string ShengChanGuo
        {
            get { return m_ShengChanGuo; }
            set { m_ShengChanGuo = value; }
        }

        private string m_YuanZhi;
        /// <summary> 
        /// 原值 
        /// </summary> 
        [Column(Name = "原值", DbType = "nvarchar(200)", Storage = "m_YuanZhi", UpdateCheck = UpdateCheck.Never)]
        public string YuanZhi
        {
            get { return m_YuanZhi; }
            set { m_YuanZhi = value; }
        }

        private double m_CaiZhengGouJianZiJin;
        /// <summary> 
        /// 财政购建资金 
        /// </summary> 
        [Column(Name = "财政购建资金", DbType = "float", Storage = "m_CaiZhengGouJianZiJin", UpdateCheck = UpdateCheck.Never)]
        public double CaiZhengGouJianZiJin
        {
            get { return m_CaiZhengGouJianZiJin; }
            set { m_CaiZhengGouJianZiJin = value; }
        }

        private double m_FeiCaiZhengGouJianZiJin;
        /// <summary> 
        /// 非财政购建资金 
        /// </summary> 
        [Column(Name = "非财政购建资金", DbType = "float", Storage = "m_FeiCaiZhengGouJianZiJin", UpdateCheck = UpdateCheck.Never)]
        public double FeiCaiZhengGouJianZiJin
        {
            get { return m_FeiCaiZhengGouJianZiJin; }
            set { m_FeiCaiZhengGouJianZiJin = value; }
        }

        private string m_LeiJiZheJiu;
        /// <summary> 
        /// 累计折旧 
        /// </summary> 
        [Column(Name = "累计折旧", DbType = "nvarchar(200)", Storage = "m_LeiJiZheJiu", UpdateCheck = UpdateCheck.Never)]
        public string LeiJiZheJiu
        {
            get { return m_LeiJiZheJiu; }
            set { m_LeiJiZheJiu = value; }
        }

        private string m_ShenQingLiYou;
        /// <summary> 
        /// 申请理由 
        /// </summary> 
        [Column(Name = "申请理由", DbType = "nvarchar(2000)", Storage = "m_ShenQingLiYou", UpdateCheck = UpdateCheck.Never)]
        public string ShenQingLiYou
        {
            get { return m_ShenQingLiYou; }
            set { m_ShenQingLiYou = value; }
        }

        private string m_ShenQingKeShiFuZeRen;
        /// <summary> 
        /// 申请科室负责人 
        /// </summary> 
        [Column(Name = "申请科室负责人", DbType = "nvarchar(50)", Storage = "m_ShenQingKeShiFuZeRen", UpdateCheck = UpdateCheck.Never)]
        public string ShenQingKeShiFuZeRen
        {
            get { return m_ShenQingKeShiFuZeRen; }
            set { m_ShenQingKeShiFuZeRen = value; }
        }


        private string m_ZiChanMingCheng;
        /// <summary> 
        /// 资产名称 
        /// </summary> 
        public string ZiChanMingCheng
        {
            get { return m_ZiChanMingCheng; }
            set { m_ZiChanMingCheng = value; }
        }

        private string m_GuDingZiChanBianHao;
        /// <summary> 
        /// 固定资产编号
        /// </summary> 
        public string GuDingZiChanBianHao 
        { 
            get { return m_GuDingZiChanBianHao; }
            set { m_GuDingZiChanBianHao = value; }
        }

        private string m_GuiGe;
        /// <summary> 
        /// 规格 
        /// </summary> 
        public string GuiGe
        {
            get { return m_GuiGe; }
            set { m_GuiGe = value; }
        }

        private string m_XingHao;
        /// <summary> 
        /// 型号 
        /// </summary> 
        public string XingHao
        {
            get { return m_XingHao; }
            set { m_XingHao = value; }
        }

        private DateTime m_GouJianRiQi;
        /// <summary> 
        /// 购建日期 
        /// </summary> 
        public DateTime GouJianRiQi
        {
            get { return m_GouJianRiQi; }
            set { m_GouJianRiQi = value; }
        }

    } 

}
